logViewer = Ext.extend(logViewerUi, {
    initComponent : function ()
    {
        logViewer.superclass.initComponent.call(this);
    }
   ,logRowCount : 0
   ,addLogRow : function (message, gravity)
    {
        var timestamp = new Date().format('H:i:s');
        msgClass = 'log-gravity-'+gravity;
        logRow = new Ext.Container({
            html: '<div class="log-row">'+timestamp+': <span class="'+msgClass+'">'+message+'</span></div>'
            ,border: false
        });
        this.insert(0, logRow);
        this.doLayout();
        //Ext.get(logRowId).highlight();
        if(logRow.el)
            logRow.el.highlight();
    }
});